/*
 * PrintFormat.java
 *
 * Created on April 6, 2007, 11:22 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

/**
 * This method has the set and get methods
 * @author uni
 */
public class PrintFormat extends RevenueSourceBO{
    private String paperType = null;
    private String size = null;
    private String format = null;
    private double unitPrice = 0;
    private String description = null;
    private double Price = 0;
    
    /**
     * Creates a new instance of PrintFormat
     * @param guid id
     */
    public PrintFormat (String guid)
    {
         super.setId(guid);
    }

    /**
     * gets the paper type
     * @return paper type
     */
    public String getPaperType ()
    {
        return paperType;
    }

    /**
     * sets the paper type
     */
    public void setPaperType (String paperType)
    {
        this.paperType = paperType;
    }

    /**
     * gets the size of the paper
     * @return size
     */
    public String getSize ()
    {
        return size;
    }

    /**
     * sets the size
     * @param size 
     */
    public void setSize (String size)
    {
        this.size = size;
    }

    /**
     * gets the format
     * @return format
     */
    public String getFormat ()
    {
        return format;
    }

    /**
     * sets the format
     */
    public void setFormat (String format)
    {
        this.format = format;
    }

    /**
     * gets the unit price
     * @return unit price
     */
    public double getUnitPrice ()
    {
        return unitPrice;
    }

    /**
     * sets the unit price
     * @param unitPrice 
     */
    public void setUnitPrice (double unitPrice)
    {
        this.unitPrice = unitPrice;
    }
    
    /**
     * calculates the price
     * @return calPrice()
     */
    public double calcPrice()
    {
        return Price;
    }
     
    /**
     * creates the desscripotion
     * @return description
     */
    public String createDescription()
    {
        return description;
    }
     
    
    
}
